Get departments list
A /departments/ method is used to receive a list of departments created in the system, e.g., “Manufactory #1”, “Warehouse #1”, “Warehouse #2” etc. If this method is used without any parameters or used your own fiscal ID (fiscal_id) – only your own departments in the system will be returned in response.
If you need to get a list of departments of other organizations (e.g., for the external shipment operation), you need to indicate fiscal ID (fiscal_id) of the organization with which you plan to perform operations;
“is_foreign” parameter is used to receive only departments that are located outside of Azerbaijan.
Note: this method required no signature and no compression.

Request
| Parameter | Description | Need compression? |
|---|---|---|
| /departments/ | No signature | No compression |